package cn.liangent.travlib;

/**
 * building type, level etc. are static in this class.
 * specified at construction or first invoking
 */
public class StaticBuilding extends Building {
	private final Type type;
	private final int level;

	public StaticBuilding(Village village, int id, Type type, int level) {
		super(village, id);
		this.type = type;
		this.level = level;
	}

	@Override
	public int getLevel() {
		return level;
	}
}
